Object3D.AddShapeFromFile Method

Loads a model file and adds it to an object in one step. If the file does not exist or does not contain valid model data, then no shape is added. The optional parameter insertPos specifies the 0-based position at which the new shape should appear in the shape list.

Syntax

Object3D.AddShapeFromFile File, [insertPos]


Parameters

File

FolderItem

insertPos (Optional)

Integer